<template>
  <div class="wholesale-detail">
    <div class="block">
<!--      <header>-->
<!--        <h2>添加订单类型</h2>-->
<!--      </header>-->
      <div class="box-content">
        <el-form ref="ruleForm" :model="params" label-width="100px">
          <el-form-item prop="target" label="原厂：">
            <el-select
              v-model="params.originalFactoryCode"
              filterable
              remote
              clearable
              :disabled="!!supplierCode"
              placeholder="请输入关键词"
              :remote-method="queryOriginalFactoryList"
              :loading="loading"
            >
              <el-option
                v-for="item in originalFactoryList"
                :key="item.originalFactoryCode"
                :label="item.originalFactoryName"
                :value="item.originalFactoryCode"
              />
            </el-select>
          </el-form-item>
          <el-form-item prop="date" label="订单类型：">
            <el-checkbox-group v-model="checkList">
              <el-checkbox v-for="box in orderTypeList" :key="box.label" :label="box.label">{{box.text}}</el-checkbox>
            </el-checkbox-group>
          </el-form-item>
        </el-form>
      </div>
    </div>
  </div>
</template>
<script src="./index.js"></script>

<style lang="less" src="./index.less" scoped></style>
